<!--{template user/header}-->
<div class="container">
  <div class="nav-action">
    <!--{template user/left_side}-->
  </div>
  <!-- nav-action end -->

  <div class="content-panel">
    <div class="user-short">

        <div class="media">
          <div class="user-avatar">
          <a href="index.php?do=seller&id={$gUid}">
          	<!--{userpic($gUid,'larger')}-->
          </a>
        </div>
        <div class="media-body">

          <div class="user-info">
            <h2 class="media-heading username">{$username}</h2>

                        <div class="top-left">
              <div class="p-row1">
                账号认证：
                {loop $arrAuthItems $k $v}
                {if $k!=$strUncode}
                {if $arrAuthInfos[$k]['auth_status']==1}
                  <a href="index.php?do=user&view=account&op=auth&code={$v['auth_code']}"><img class="mar0" src="{$v['auth_small_ico']}" width="16px" height="16px" alt="" title="{$v['auth_title']}"></a>
                {else}
                  <a href="index.php?do=user&view=account&op=auth&code={$v['auth_code']}"><img class="mar0" src="{$v['auth_small_n_ico']}" width="16px" height="16px" alt="" title="{$v['auth_title']}"></a>
                {/if}
                {/if}
                {/loop}
              </div>

              <div class="p-row1">
                手机：{if $gUserInfo['mobile']}{$gUserInfo['mobile']}{else}暂无{/if}
              </div>

              <div class="p-row1">
                Q Q：{if $gUserInfo['qq']}{$gUserInfo['qq']}{else}暂无{/if}
              </div>

              <div class="p-row1">
                邮箱：{if $gUserInfo['email']}{$gUserInfo['email']}{else}暂无{/if}
              </div>
            </div><!-- top-left end -->

            <div class="top-right">
              <div class="notice">
                <i class="fa fa-flag"></i>
                <a href="index.php?do=user&view=transaction&op=sold&intModelId=7&strStatus=seller_confirm">新服务订单</a>
                <span class="number">{$intService}</span>
              </div>
				  <div class="notice">
                <i class="fa fa-flag"></i>
                <a href="index.php?do=user&view=wk&op=gy&s=seller_confirm">新雇佣</a>
                <span class="number">{$intGy}</span>
              </div>
              <div class="notice">
                <i class="fa fa-comment"></i>
                <a href="index.php?do=user&view=wk&op=mark&type=1">待评价</a>
                <span class="number">{$intMarkW}</span>
              </div>



            </div><!-- top-right end -->

         </div>

        </div>

      </div>
    </div>
    <!-- user-short end -->

    <div class="horizontal-row">
      <div class="user-type">

          <div class="type-heading">
            <h3 class="type-title">评价信息</h3>
          </div>
          <div class="type-body1">
            <ul class="count">
              <li class="item"><span class="num">{$gUserInfo['seller_credit']}</span>能力值：</li>
              <li class="item"><span class="num"><!--{eval echo kekezu::favorableRate($gUserInfo['uid'],1)}--><sub>%</sub></span>好评率：</li>
              <li class="item"><span class="num">{$gUserInfo['accepted_num']}</span>中标稿件数：</li>
              <li class="item"><span class="num"><sub></sub>{c:$floatBidTask[0]['cash']}</span>获得任务款：</li>
              <li class="item"><span class="num">{$floatSaleService[0]['count']}</span>出售服务数：</li>
              <li class="item"><span class="num"><sub></sub>{c:$floatSaleService[0]['cash']}</span>获得服务款：</li>
            </ul>
          </div>

      </div>
      <!-- user-type end -->

      <div class="user-type">

          <div class="type-heading">
            <h3 class="type-title">最近动态</h3>
          </div>
          <div class="type-body1">
            <ul class="count">
             {loop $arr $key $val}
              <li class="item1"><span class="desc">{$val['dongtai']}</span><div class="time"><!--{eval echo  CommonClass::getStatus($val['time']);}--></div></li>
            {/loop}
            </ul>
          </div>

      </div>
      <!-- user-type end -->
    </div>
    <!-- row end -->

    <div class="horizontal-row">
      <div class="user-type">

          <div class="type-heading">
            <h3 class="type-title">我收藏的任务</h3>
          </div>
          <div class="type-list">

          <table class="table table-hover count1">
            <thead>
              <tr>
                <th>名称</th>
                <th>金额（元）</th>
                <th>店家</th>
               <!--  <th>状态</th> -->
              </tr>
            </thead>
            <tbody>
              {loop $arrFavorite $v}
              <tr>
                <td><a href="index.php?do=task&id={$v['obj_id']}"  class="list-desc">$v['obj_name']</a></td>
                <td><span class="money"><!--{eval  $a=ServiceClass::getTaskByObj_id($v['obj_id']);echo $a['task_cash']}--></span></td>
                <td><a href="index.php?do=seller&id=<!--{eval  $a=ServiceClass::getTaskByObj_id($v['obj_id']);echo $a['uid']}-->"><!--{eval  $a=ServiceClass::getTaskByObj_id($v['obj_id']);echo $a['username']}--></a></td>
              </tr>
              {/loop}
            </tbody>
          </table>

          </div>

      </div>
      <!-- user-type end -->

      <div class="user-type">

          <div class="type-heading">
            <h3 class="type-title">我卖出的商品信息</h3>
          </div>
          <div class="type-list">
            <table class="table table-hover count1">
            <thead>
              <tr>
                <th>名称</th>
                <th>数量</th>
                <th>售出时间</th>
                <th>总价</th>
              </tr>
            </thead>
            <tbody>
              {loop $arrRercod $k $v}
              <tr>
                <td><a href="index.php?do=goods&id={$v['service_id']}" class="list-desc1">{$v['title']}</a></td>
                <td>{$v['sale_num']}</td>
                <td>{$v['buytime']}</td>
                <td><span class="money">{$v['total_sale']}</span></td>
              </tr>
              {/loop}
            </tbody>
          </table>
          </div>

      </div>
      <!-- user-type end -->
    </div>
    <!-- row end -->




  </div>
  <!-- content-panel end -->

</div>
<!--{template user/footer}-->